<div class="row">
  <div class="span8">

    <div class="page-header">
      <h1>Edit user</h1>
    </div>

    <form class="form-horizontal" action="user/<%- user.id %>/edit" method="post">
      <fieldset>

        <div class="control-group">
          <label for="name-input" class="control-label">Name</label>
          <div class="controls">
            <div class="input-prepend">
              <span class="add-on">
                <i class="icon-user"></i>
              </span>
              <input type="text" class="input-xlarge" name="name" id="name-input" value="<%- user.name %>" />
              <p class="help-block">Enter name above, has to be between 2 and 100 chars.</p>
            </div>
          </div>
        </div>
        
        <div class="control-group">
          <label for="name-input" class="control-label">First name</label>
          <div class="controls">
            <div class="input-prepend">
              <span class="add-on">
                <i class="icon-user"></i>
              </span>
              <input type="text" class="input-xlarge" name="firstName" id="name-input" value="<%- user.firstName %>" />
              <p class="help-block">Enter name above, has to be between 2 and 100 chars.</p>
            </div>
          </div>
        </div>
        
        <div class="control-group">
          <label for="name-input" class="control-label">Login</label>
          <div class="controls">
            <div class="input-prepend">
              <span class="add-on">
                <i class="icon-briefcase"></i>
              </span>
              <input type="text" class="input-xlarge" name="login" id="name-input" value="<%- user.login %>" />
              <p class="help-block">Enter name above, has to be between 2 and 100 chars.</p>
            </div>
          </div>
        </div>
        
        <div class="control-group">
          <label for="email-input" class="control-label">Email</label>
          <div class="controls">
            <div class="input-prepend">
              <span class="add-on">
                <i class="icon-envelope"></i>
              </span>
              <input type="text" class="input-xlarge" name="email" id="email-input" value="<%= user.email %>" />
              <p class="help-block">Enter a valid email above.</p>
            </div>
          </div>
        </div>

        <div class="form-actions">
          <input type="submit" class="btn save-btn" />
          <a class="btn back-btn" href="users/">Back</a>
        </div>

      </fieldset>
    </form>

  </div>
</div>